* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: #000;
}

li {
    list-style-type: none;
}

main {
    background-color: #fff;
}

/* header */
header {
    position: sticky;
    z-index: 1;
    top: 0;
    border-top: 10px solid #000;
    text-align: center;
    background-color: #fff;
}

header>div {
    width: 1500px;
    height: 146px;
    margin: 0 auto;
    position: relative;
}

header>div>div {
    position: absolute;
    top: 14px;
    right: 60px;
}

header h1 {
    margin-top: 20px;
    font-size: 30px;
}

header nav {
    position: relative;
    border-bottom: 1px solid #ECECEC;
}

/* 二级菜单 */
header nav .erJiCaiDan {
    width: 1500px;
    height: 490px;
    position: absolute;
    display: none;
    top: 67px;
    left: 0px;
    background-color: #fff;
    z-index: 1;
    padding-top: 20px;
    box-sizing: border-box;
}

header nav .erJiCaiDan a {
    font-size: 12px;
}

.erJiCaiDan>ul>li>ul>li:not(.menuTitle):hover {
    list-style-type: disc;
}

.erJiCaiDan>ul>li>ul>li {
    height: 28px;
}

.erJiCaiDan>ul>li>ul:nth-of-type(3) {
    margin-top: 20px;
}

.erJiCaiDan>ul {
    width: 1514px;
    height: 606px;
    display: flex;
    justify-content: space-evenly;
}

.erJiCaiDan>ul>li {
    width: 260px;
    text-align: left;

}

/*  */
header nav>ul {
    width: 460px;
    height: 66px;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

header nav>ul>li {
    height: 66px;
    padding-top: 30px;
    box-sizing: border-box;
}

header nav>ul>li:hover {
    border-bottom: 5px solid #000;
}

header nav>ul>li:hover .erJiCaiDan {
    display: block;
}

.cha {
    position: absolute;
    top: 10px;
    right: 160px;
    font-size: 20px;
    cursor: pointer;
}

/* N°1 DE CHANEL菜单 */

header nav>ul>li:last-child>a {
    font-weight: 700;
    text-decoration: none;
    color: #961014;
}

/* header--->>>文字图标 */
header>div:first-child>div {
    width: 270px;
    display: flex;
    justify-content: space-evenly;
}

header>div:first-child>div>span {
    font-size: 20px;
}

header>div:first-child>div>span:hover {
    cursor: pointer;
}

header>div:first-child>div>span:nth-child(3) {
    font-size: 23px;
}

header>div:first-child>div>span:nth-child(4) {
    font-size: 22px;
}

/* 地址 */
header>div>div:first-child>span:nth-of-type(3) {
    position: relative;
}

.dizhi_erji {
    position: absolute;
    z-index: 1;
    width: 300px;
    height: 160px;
    top: 40px;
    right: 24px;
    box-shadow: 0 0 8px 3px rgba(201, 201, 201, .5);
    background-color: #fff;
    font-size: 14px;
    display: none;
}

header>div:first-child>div>span:nth-child(3):hover>.dizhi_erji {
    display: block;
}

.dizhi_erji::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid #fff;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    position: absolute;
    top: -20px;
    right: 75px;
}

/* 地址第1行 */
.dizhi_erji>p {
    position: absolute;
    top: 6px;
    left: 14px;
    display: block;
    text-align: left;
}

/* 地址第2行 */
.dizhi_erji>div:nth-of-type(1) {
    width: 270px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    margin: 0 auto;
    margin-top: 34px;
    border: 1px solid #DDDDDD;
}

/* 地址第3行 */
.dizhi_erji>div:nth-of-type(2) {
    width: 270px;
    height: 40px;
    margin: 0 auto;
    margin-top: 14px;
    position: relative;
    border: 1px solid #DDDDDD;
}

.dizhi_erji>div:nth-of-type(2)>input {
    width: 230px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 0;
    padding-left: 10px;
    box-sizing: border-box;
    border: none;
    outline: none;
    border-right: 1px solid #DDDDDD;
}

.dizhi_erji>div:nth-of-type(2)>span {
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    position: absolute;
    right: 0;
    top: 0;
    box-sizing: border-box;
}

/* section1 */
.section1 {
    width: 1500px;
    margin: 0 auto;
    padding-bottom: 400px;
}

.section1>div {
    width: 290px;
    height: 116px;
    text-align: center;
    padding-top: 70px;
    box-sizing: border-box;
    margin: 0px auto;
}

.section1>div>h3 {
    font-size: 60px;
    font-weight: 400;
}

.section1>ul {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.section1>ul::after {
    content: '';
    display: block;
    height: 0;
    width: 380px;
}

.section1>ul>li {
    margin-top: 90px;
    text-align: center;
    width: 380px;
    height: 648px;
    position: relative;
}

.section1>ul>li img {
    width: 100%;
}

.section1>ul>li>p {
    position: absolute;
    top: 540px;
    left: 50%;
    transform: translateX(-50%);
    color: #808080;
}


.section1>ul>li>div:nth-of-type(1)>p:nth-of-type(1) {
    display: block;
    margin-top: 40px;
}

.section1>ul>li>div:nth-of-type(1)>p:nth-of-type(2) {
    display: block;
    margin-top: 110px;
}

.section1>ul>li>div:nth-of-type(1):hover {
    color: #999999;
    cursor: pointer;
}

.section1>ul>li>div:nth-of-type(2) {
    width: 64px;
    margin: 0px auto;
    margin-top: 10px;
    padding-bottom: 5px;
    border-bottom: 3px solid #ECECEC;
}

.section1>ul>li>div:nth-of-type(2):hover {
    border-bottom: 3px solid #000;
}

/* section2 */
.section2 {
    border-top: 1px solid #E6E6E6;
    margin-bottom: 720px;
}

.section2>ul {
    width: 1500px;
    margin: 0 auto;
    height: 244px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

.section2>ul>li {
    height: 104px;
}

.section2 h5 {
    font-size: 18px;
}

.section2 p:not(.wujianjv) {
    line-height: 40px;
}

.section2>ul>li:nth-of-type(1)>h5 {
    margin-bottom: 14px;
}

.section2 button {
    background-color: #fff;
    border: 1px solid #E6E6E6;
    width: 96px;
    height: 52px;
    transform: translateY(6%);
}

.section2 button:hover {
    background-color: #DDDDDD;
}

/* 线上美容顾问 */
main .section3 {
    position: relative;
}


main .section3>div {
    position: fixed;
    top: 90%;
    right: 0;
    width: 19%;
    transition: all .3s linear;
}

main .section3>div>:nth-child(1)>:nth-child(2) {
    opacity: 0;
}

main .section3>div>:nth-child(2) {
    opacity: 0;
}


main .section3>div:hover {
    top: 30%;
}

main .section3>div:hover :nth-child(1)>:nth-child(2) {
    opacity: 1;
}

main .section3>div:hover :nth-child(2) {
    opacity: 1;
}



main .section3>div>:nth-child(1)>:nth-child(2) {
    opacity: 0;
}

main .section3>div:hover>div:nth-child(1)>div:nth-child(1) {
    opacity: 0;
}

main .section3>div>div:nth-child(1)>div:nth-child(1) {
    display: flex;
    justify-content: space-between;
    background-color: black;
    color: white;
    width: 90%;
    height: 40px;
    line-height: 40px;
    padding: 0 5%;
    font-weight: 300;
    font-size: 14px;
    cursor: pointer;
}

main .section3>div>div:nth-child(1)>div:nth-child(2) {
    display: flex;
    justify-content: space-between;
    background-color: black;
    color: white;
    width: 90%;
    height: 40px;
    line-height: 40px;
    padding: 0 5%;
    font-weight: bold;
}

main .section3>div>div:nth-child(2)>div:nth-child(1) {
    height: 300px;
    background-color: white;
    font-size: 14px;
}

main .section3>div>div:nth-child(2)>div:nth-child(1)>div {
    background-color: rgb(238, 238, 238);
    padding: 10px 10px;
    font-size: 14px;

}

main .section3>div>div:nth-child(2)>div:nth-child(1)>div>div {
    background-color: rgb(230, 230, 230);
    margin: 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0);
}

main .section3>div>div:nth-child(2)>div:nth-child(1)>div>div>div {
    background-color: white;
    margin: 10px 10px;
}

main .section3>div>div:nth-child(2)>div:nth-child(1)>div>div>div>:nth-child(2) {
    padding-top: 20%;

}

main .section3>div>div:nth-child(2)>div:nth-child(2) {
    color: white;
    background-color: rgb(218, 218, 218);
}

main .section3>div>div:nth-child(2)>div:nth-child(2) input {
    height: 50px;
    width: 90%;
    margin: 5% 5%;
    border: none;
    font-size: 18px;
}

main .section3>div>div:nth-child(2)>div:nth-child(2) input:focus {
    border: transparent;
    outline: none;
}

main .section3>div>div:nth-child(2)>div:nth-child(2) div {
    margin: 0 5%;
    height: 17px;
    display: flex;
    justify-content: space-between;
}

main .section3>div>div:nth-child(2)>div:nth-child(2) div span {
    cursor: pointer;
    color: black;

}

/* 购买弹出 */
.black_overlay {
    display: none;
    /* 此元素不会被显示*/
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: index 999;
    ;
    /* z-index 属性设置元素的堆叠顺序。拥有更高堆叠顺序的元素总是会处于堆叠顺序较低的元素的前面。*/
    -moz-opacity: 0.4;
    opacity: .4;
    /* opacity 属性设置元素的不透明级别。*/
    filter: alpha(opacity=88);
    /* 所有浏览器都支持 opacity 属性。   注释：IE8 以及更早的版本支持替代的 filter 属性。例如：filter:Alpha(opacity=50)。*/
}

.white_content {
    display: none;
    position: fixed;
    top: 28%;
    left: 18%;
    width: 60%;
    height: 65%;
    padding: 20px;
    border: 1px solid #fff;
    background-color: #fff;
    z-index: 1000;
    overflow: hidden;
}

.chuangkou>a {
    color: #acacac;
    text-decoration: none;
    font-size: 18px;
    display: block;
    text-align: right;
}

.chuangkou p {
    font-size: 14px;
    font-weight: 400;
}

.chuangkou p:nth-of-type(2) {
    padding-top: 30px;
}

.chuangkou p:nth-of-type(2)>a {
    color: #808080;
    text-decoration: underline;
}

.chuangkou h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.chuangkou>div:nth-of-type(1) {
    margin-left: 10px;
    margin-top: 20px;
    float: left;
}

.chuangkou>div:nth-of-type(1) img {

    width: 400px;
    height: auto;
}

.chuangkou>div:nth-of-type(2) {
    margin-right: 20px;
    margin-top: 20px;
    width: 410px;
    float: right;
}

.chuangkou>div:nth-of-type(2)>div:nth-of-type(1) {
    background-color: #000;
    text-align: center;
    width: 42px;
    height: 20px;
    line-height: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    color: #fff;
}

.chuangkou>div:nth-of-type(2)>div:nth-of-type(2) {
    height: 30px;
    line-height: 30px;
    margin-bottom: 20px;
    border: 1px solid #acacac;
    padding-left: 10px;
}

.chuangkou>div:nth-of-type(2)>div:nth-of-type(3) {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
}

.chuangkou>div:nth-of-type(2)>div:nth-of-type(3)>span:nth-of-type(2) {
    font-weight: 500;
}

.chuangkou>div:nth-of-type(2)>div:nth-of-type(3)>span:nth-of-type(1) {
    font-weight: 600;
}

.chuangkou input {
    width: 410px;
    height: 40px;
    background-color: #000;
    cursor: pointer;
    color: #fff;
}

/* footer */
footer {
    position: fixed;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 720px;
    margin: 0 auto;
    box-sizing: border-box;
    z-index: -1;
    padding: 80px 0;
    background-color: #000;
    color: #fff;
}

footer a {
    color: #858585;
    font-size: 16px;
}

footer h2 {
    width: 244px;
    margin: 0 auto;
    font-size: 40px;
    margin-bottom: 160px;
}

footer h5 {
    font-size: 14px;
}

footer>ul {
    display: flex;
    justify-content: space-around;
}

footer>ul>li li {
    margin-top: 20px;
}

footer>div {
    position: absolute;
    overflow: hidden;
    bottom: 0;
    left: 0;
    width: 1500px;

}

footer>div>ul:first-child {
    width: 828px;
    float: left;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
}

footer>div>ul:first-child>li {
    font-size: 16px;
}

footer>div>ul:first-child>li>div {
    text-align: center;
}

footer>div>ul:first-child>li>p {
    font-size: 16px;
}

footer>div>ul:first-child>li>div img {
    width: 32px;
}

footer>div>ul:last-child {
    float: right;
    overflow: hidden;
    padding-top: 40px;
}

footer>div>ul:last-child>li {
    float: left;
    font-size: 16px;
    margin-right: 30px;
}

footer>div>ul:last-child>li span {
    font-size: 16px;

    padding-right: 10px;
}

footer>div>ul:last-child>li:nth-of-type(1) span {
    color: #858585;
    /* padding-right: 10px; */
}

footer>div>ul:last-child>li:nth-of-type(2) span {
    width: 16px;
}

footer>div>ul:last-child>li:nth-of-type(2) span:hover {
    color: #858585;
}